package edu.zhku.ttms.view.label;

import edu.zhku.ttms.view.font.HeaderFont;

import javax.swing.*;
import java.awt.*;

/**
 * @author Feng
 * @since 2021/4/23 18:49
 */
public class HeaderLabel extends JLabel {

    public HeaderLabel() {
        this(260, 50);
    }

    public HeaderLabel(int x, int y) {
        super("交通罚单管理系统");
        this.setForeground(Color.ORANGE);
        this.setFont(new HeaderFont());
        this.setBounds(x, y, 440, 165);
    }
}
